package com.bbc.mapper.type;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.bbc.base.BaseMapper;
import com.bbc.entity.type.TypeInfo;
import com.bbc.entity.type.TypeQuery;

@Repository
public interface TypeMapper extends BaseMapper {
	
	Integer addType(TypeInfo typeInfo);
	TypeInfo findTypeById(Integer typeId);
	List<TypeInfo> findType(TypeQuery query);
	TypeInfo findTypeByCid(TypeQuery query);
	int findTypeCount(TypeQuery query);

}
